package tp_automates;

import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;

public class StateSet {

	public Set<State> set;

	public StateSet() {
		set = new HashSet<State>();
	}

	public String toString() {
		return set.toString();
	}

	public void add(State end) {
		set.add(end);
	}

	public Set<State> getStateSet() {
		return set;
	}

	public Iterator<State> iterator() {
		return set.iterator();
	}

}
